package com.xypower.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.sql.Date;


/**
 * 类名:
 * 作者:XY
 * 创建时间:2021/11/15-0:06
 * 功能:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Table(name = "sentinfo")
public class SentInfo implements Serializable {
    @Id
    private Integer tid;
    @Column(name = "titleContent")
    private String titleContent;
    @Column(name = "pubAuthor")
    private String pubAuthor;
    @Column(name = "topFlag")
    private String topFlag;
    @Column(name = "pubTime")
    private Date pubTime;
    @Column(name = "msgContent")
    private String msgContent;
    @Column(name = "pubId")
    private Integer pubId;
    @Transient
    @Column(name = "publisherName")
    private String publisherName;
}
